<?php
/**
 * Created by PhpStorm.
 * User: thanatos
 * Date: 2018-11-30
 * Time: 17:44
 */

namespace App\components;


trait TimestampModel
{

    public function freshTimestamp() {
        return time();
    }

    public function fromDateTime($value) {
        return $value;
    }

}